package com.yami.shop.rights.common.vo;

import com.yami.shop.rights.common.dto.PersonRightsDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

@Data
public class ProdRightDetailVo {

    @Schema(description = "权益ID")
    private long id;

    @Schema(description = "权益名称")
    private String rightsName;
    private String status;

    @Schema(description = "权益次数")
    private Long rightsTimes;
    private long rightsId;

    @Schema(description = "剩余次数")
    private Long rightsSurplusTimes;

    @Schema(description = "权益类型(1:普通权益2:实物权益3:优惠券权益4:抽奖权益5:赠送盲盒权益6:增加限购权益7:单方空投权益8:双方空投权益9:优先购权益10:电子券权益11空投权益12兑换商品权益)")
    private String type;
    private Timestamp exchangeEndTime;

    @Schema(description = "权益列表")
    private List<PersonRightsDto> personRightsDtos;

}
